<?php if(!$this->allow('checkout', 'shoppingcart', 'shoppingcart') && $this->isLogin):?>
<div class="flash_message">
    <div><?php echo $this->translator('shoppingcart_no_permission_checkout', 'shoppingcart');?></div>    
</div>
<?php endif;?>